#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <ctime>
using namespace std;
int n, cnt,k1,k2;
int main() {
	k1=2500,k2=7500;
	freopen("data.in", "w", stdout);
	int n = 114514;
	cout << n << endl;
	for (int i = 0; i < n; i++)
		cout << i << " ";
	cout << endl;
	cout << k1 << " "<< k2;
	return 0;
}
